package com.luobo.shiro.domain.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luobo.shiro.domain.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleMapper extends BaseMapper<Role> {

    List<Role> getUserRoles(@Param("userId") Integer userId);
}
